package utils;

public class Result {
    boolean flag;
    Object data;

    public boolean isFlag() {
        return flag;
    }

    public Object getData() {
        return data;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Result(boolean flag, Object data) {
        this.flag = flag;
        this.data = data;
    }
    public Result(boolean flag) {
        this.flag = flag;

    }
    public Result(){

    }
}
